package com.gagakuai.framework.form;

import org.camunda.bpm.engine.form.FormData;
import org.camunda.bpm.engine.form.StartFormData;
import org.camunda.bpm.engine.form.TaskFormData;
import org.camunda.bpm.engine.impl.form.engine.HtmlFormEngine;
import org.springframework.stereotype.Component;

/*
 * @program: common-starters
 * @description: 嘎嘎快自定义表单渲染引擎
 * @author: houhong
 * @create: 2022-12-13 17:17
 */
@Component
public class GagakuaiFormEngine extends HtmlFormEngine {

    @Override
    public String getName() {
        return "gagakuaiFormEngine";
    }

    @Override
    public Object renderTaskForm(TaskFormData taskForm) {
        return this.renderFormData(taskForm);
    }



}